package com.myfoon.model.ejb;


import com.myfoon.model.cacheable.EventCache;
import com.myfoon.model.entity.Event;
import com.myfoon.model.entity.User;

import com.myfoon.model.entity.result.EventOfFriend;

import java.util.List;
import java.util.Set;

import javax.ejb.Local;

@Local
public interface EventEJBLocal {
    public Event persist(Event event);
    public Event merge(Event event);
    public void remove(Event event);        
    public List<EventOfFriend> getLastEvents(User user, Integer timezone, boolean friendsEvents, int start, int max);    
    public List<EventCache> getEvents(List<Long> eventIDs);
}
